    using SmartSoft.DAL;
    using System.Web.Services;
    using System;
    using System.Data;
    using System.Data.SqlClient;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.None)]
public class WSGroupDataAccess : System.Web.Services.WebService
{
    private GroupDataAccess objDataAccess = new GroupDataAccess();
    public WSGroupDataAccess()
{
}


    [WebMethod]
    public DataSet GetDataSet()
{
        return objDataAccess.GetDataSet();
}

    [WebMethod(MessageName = "OneParams", Description = "", EnableSession = true)]
    public DataTable GetTable(string ps_GrpCode)
{

return objDataAccess.GetTable(ps_GrpCode);
}

    [WebMethod(MessageName = "TwoParams", Description = "", EnableSession = true)]
    public DataTable GetTable(string ps_GrpCode, bool pb_UserCheck, int pi_UserType)
{

return objDataAccess.GetTable(ps_GrpCode, pb_UserCheck, pi_UserType);
}

    [WebMethod]
    public int SaveRow(bool pb_NewChecked, DataTable tableRow)
{

return objDataAccess.SaveRow(pb_NewChecked, tableRow.Rows[0]);
}
}
